from playwright.async_api import async_playwright
import asyncio

async def run():
    async with async_playwright() as p:
        brower = await p.chromium.launch(headless=False)
        page = await brower.new_page()
        await page.goto("http://www.ztu.edu.cn")
        print(await page.title())
        print(await page.content())

if __name__ == '__main__':
    asyncio.run(run())